home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
irc_i_dodatki
/
dwarfx
/
dwarf24.lha
/
dwarfsound.amirx
< prev
next >
Wrap
Text File
|
1980-12-25
|
726b
|
23 lines
/* DWaRFx Sound V0.7b By David 'COolWAve' Newton
\\
// Usage: DFx_Sound.AmIRX <Env> <Nick> <Drawer> <[Sound]/LIST>
\\
// Responds to CTCP GETSOUND commands.
\\
// This script should only be used by the AmIRC rexx script.
\\
*/
Parse Arg envadr unick sdrawer sname
Address Value(envadr);Options Results
'GetMyNick';mnick=result;sname=Strip(sname)
If Upper(sname)="LIST" Then Do
fname="T:"mnick".List"
Address Command "List >"fname sdrawer" lformat %-32n%l"
Address Command "Sort >NIL: "fname fname
End
Else fname=sdrawer||sname
If ~Open('File1',fname) Then "RAW NOTICE "unick" :"d2c(1)"ERRMSG GETSOUND "d2c(2)"|DWaRFx|"d2c(2)" :"sname" does not exist!"d2c(1)
Else Do
Call Close('File1');"Say /DCC SEND "unick fname
End
Exit